{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "a102e471",
   "metadata": {},
   "source": [
    "# Trade-Policy Dynamics: Evidence from 60 Years of U.S.-China Trade\n",
    "Alessandria,  Khan, Khederlarian, Ruhl, and Steinberg\n",
    "\n",
    "inputs: </br>\n",
    "&emsp; &emsp; &emsp;model_probs_bounds</br>\n",
    "&emsp; &emsp; &emsp;model_gap_coeffs_sens_xi</br>\n",
    "&emsp; &emsp; &emsp;model_probs_sens_xi</br>\n",
    "&emsp; &emsp; &emsp;model_gap_coeffs_sens_rho_xi</br>\n",
    "&emsp; &emsp; &emsp;model_probs_sens_rho_xi</br>\n",
    "&emsp; &emsp; &emsp;model_gap_coeffs_sens_one_sector</br>\n",
    "&emsp; &emsp; &emsp;model_probs_sens_one_sector</br>\n",
    "&emsp; &emsp; &emsp;model_gap_coeffs_fast_adj</br>\n",
    "&emsp; &emsp; &emsp;model_probs_fast_adj</br>\n",
    "&emsp; &emsp; &emsp;model_probs_sens_permtpu</br>\n",
    "&emsp; &emsp; &emsp;prob_jacobian_baseline</br>\n",
    "&emsp; &emsp; &emsp;prob_jacobian_permtpu</br>\n",
    "&emsp; &emsp; &emsp;bayesian_probs_priors</br>\n",
    "&emsp; &emsp; &emsp;bayesian_probs_posteriors</br>\n",
    "\n",
    "\n",
    "outputs: figureH7 ... figure H15B\n",
    "\n",
    "This code does not do anything interesting. It just renames files created\n",
    "by the sturctural model code. "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "fee2d2d0",
   "metadata": {},
   "outputs": [],
   "source": [
    "import shutil\n",
    "\n",
    "dir_mfig = '../11 Code structural model/scripts/figs/'\n",
    "dir_out = '../31 Final output files appendix/'\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "id": "92a43cfc",
   "metadata": {},
   "outputs": [],
   "source": [
    "files = {'model_probs_bounds':'figureH7',\n",
    "         'model_gap_coeffs_sens_xi':'figureH8A',\n",
    "         'model_probs_sens_xi':'figureH8B',\n",
    "         'model_gap_coeffs_sens_rho_xi':'figureH9A',\n",
    "         'model_probs_sens_rho_xi':'figureH9B',\n",
    "         'model_gap_coeffs_sens_one_sector':'figureH10A',\n",
    "         'model_probs_sens_one_sector':'figureH10B',\n",
    "         'model_gap_coeffs_fast_adj':'figureH11A',\n",
    "         'model_probs_fast_adj':'figureH11B',\n",
    "         'model_probs_sens_permtpu':'figureH12',\n",
    "         'prob_jacobian_baseline':'figureH13',\n",
    "         'prob_jacobian_permtpu':'figureH14',\n",
    "         'bayesian_probs_priors':'figureH15A',\n",
    "         'bayesian_probs_posteriors':'figureH15B'}\n",
    "\n",
    "for k in files.keys():\n",
    "    shutil.copyfile(dir_mfig+k+'.pdf', dir_out+files[k]+'.pdf')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "eab7249d",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "newest",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.19"
  },
  "varInspector": {
   "cols": {
    "lenName": 16,
    "lenType": 16,
    "lenVar": 40
   },
   "kernels_config": {
    "python": {
     "delete_cmd_postfix": "",
     "delete_cmd_prefix": "del ",
     "library": "var_list.py",
     "varRefreshCmd": "print(var_dic_list())"
    },
    "r": {
     "delete_cmd_postfix": ") ",
     "delete_cmd_prefix": "rm(",
     "library": "var_list.r",
     "varRefreshCmd": "cat(var_dic_list()) "
    }
   },
   "types_to_exclude": [
    "module",
    "function",
    "builtin_function_or_method",
    "instance",
    "_Feature"
   ],
   "window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
